<div class="fmis">
	<div class="login">
		<div class="container padding-top-60">
			<div class="row">
				<div class="span3"></div>
				<div class="span5 hero-unit">
					<h1>Log-in</h1>
					
					<?php 
						$attr = array('class' => 'form-horizontal','style' => 'margin-top:20px');
						echo form_open('fmis/login', $attr);
					?>
						<div class="control-group">
							<label class="control-label" for="username">Username</label>
							<div class="controls">
								<input id="username" type="text" name="username" value="<?= $username;?>">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="password">Password</label>
							<div class="controls">
								<input id="password" type="password" name="password">
							</div>
						</div>
						<div class="control-group">
							<div class="controls">
								<button type="submit" class="btn btn-primary">Sign in</button>
							</div>
						</div>
						<div class="control-group">
							<label class="error" ><?= $message;?></label>
							<input type="hidden" name="message" value="<?= $message;?>">
						</div>
					<? echo form_close();?>
				</div>
				<div class="span4"></div>
			</div>
		</div>
	</div>
</div>